package cn.wangjun.org.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department {
    private Long id;
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
//    private Long manager_id;
    private Employee manager;
//    private Long parent_id;
    private Department parent;
    //一对多
    private List<Department> children = new ArrayList<>();

}
